package com.huanuo.internetofthings.bo.userRole;

import java.io.Serializable;

public class UserRole implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private Integer roleId;

    /**
     * 
     */
    private String userIdentity;

    /**
     * t_user_role
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 
     * @return role_id 
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 
     * @param roleId 
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    /**
     * 
     * @return user_identity 
     */
    public String getUserIdentity() {
        return userIdentity;
    }

    /**
     * 
     * @param userIdentity 
     */
    public void setUserIdentity(String userIdentity) {
        this.userIdentity = userIdentity == null ? null : userIdentity.trim();
    }
}